package org.jeecg.modules.hotel.exchangebed.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.hotel.exchangebed.entity.Exchange;

import java.util.List;
import java.util.Map;

/**
 * @Description: 住宿历史记录
 * @Author: jeecg-boot
 * @Date:   2021-02-24
 * @Version: V1.0
 */
public interface ExchangeMapper extends BaseMapper<Exchange> {

    List<Exchange> findListByCh(@Param("exchange")Exchange exchange);
    List<Exchange> findListByFjh(@Param("exchange")Exchange exchange);
    List<Exchange> findListByStu(@Param("exchange")Exchange exchange);
    List<Map<String, String>> listByPid2(String pid);
    List<Map<String,String>>  getStudentByCh(List<String> asList);
    List<Map<String,String>>  getStudentByFjh(List<String> asList);
    List<Map<String,String>>  getStudentByCwh(List<String> asList);

}
